package com.study.encapsulation;

public class Test {

    public static void main(String[] args) {
        Student s1 = new Student();
//封装：搞清楚封装的设计规范：合理隐藏、合理暴露
        s1.setScore(59);
        System.out.println(s1.getScore());
        s1.setScore(70);
        System.out.println(s1.getScore());
    }
}
